package org.mao.service;

import org.mao.pojo.ExOrder;
import org.mao.pojo.ExOrderDetail;
import org.mao.support.page.BasePage;
import org.mao.support.page.PageResult;

/**   
 * Copyright © 2018  Sometimes perseverance does win out.
 * 
 * @Package: org.mao.service 
 * @author:作者 Mao   
 * @date:创建时间 2018年2月16日 下午3:07:44 
 */
public interface OrderService {

	PageResult findAllOrderByPage(String search, BasePage page);

	Integer updateOrderStatus(String updateName, String status, String orderId);

	PageResult findStatusOrderByPage(String status, String search, BasePage page);

	ExOrder findOrderById(String orderId);

	Integer updateOrder(String orderId, ExOrder exOrder, ExOrderDetail exOrderDetail);

	String insetOrder(ExOrder exOrder, ExOrderDetail exOrderDetail);
	
	Integer insetOrders(String json,ExOrder orders);
}
